﻿<Page x:Class="SlotDuino.UI.Pages.Preferences"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      Background="{x:Null}"
	Title="Preferências" Loaded="Page_Loaded" Name="page" d:DesignHeight="356">

    <GroupBox Header="Preferências:" Height="351" Width="560">
        <Grid Height="311" Width="546" DataContext="{Binding Path=Company, ElementName=page}" Name="gridPreferences">
            <Button Content="Salvar" Height="32" HorizontalAlignment="Left" Margin="436,252,0,0" Name="btnSaveEdit" VerticalAlignment="Top" Width="96" Click="btnSaveEdit_Click" />
            <TextBox Margin="73,11,14,278" Name="txtName" TabIndex="1" Text="{Binding Name, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" />
            <Label Content="Nome:" HorizontalAlignment="Left" Margin="6,15,0,275" Name="lbName" />
            <TextBox Margin="73,39,14,233" Name="txtAddress" TabIndex="2" Text="{Binding Address, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" MaxLines="2" TextWrapping="Wrap" />
            <TextBox Margin="73,84,265,206" Name="txtCity" TabIndex="3" Text="{Binding City, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" />
            <TextBox Margin="330,84,14,206" Name="txtState" TabIndex="4" Text="{Binding State, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" />
            <TextBox Margin="73,111,265,179" Name="txtCountry" TabIndex="5" Text="{Binding Country, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" />
            <TextBox Margin="330,111,0,179" Name="txtPostalCode" TabIndex="6" Text="{Binding PostalCode, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" HorizontalAlignment="Left" Width="202" />
            <TextBox Margin="73,138,265,152" Name="txtPhone" TabIndex="7" Text="{Binding Phone, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" />
            <TextBox Margin="73,165,14,125" Name="txtEmail" TabIndex="8" Text="{Binding Email, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" />
            <TextBox Margin="73,192,14,98" Name="txtHomePage" TabIndex="9" Text="{Binding HomePage, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" />
            <TextBox Margin="73,219,237,71" Name="txtLogo" TabIndex="10" Text="{Binding Logo, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" />
            <Label Content="Endereço:" HorizontalAlignment="Left" Margin="6,39,0,251" Name="lbAddress" />
            <Label Content="Cidade:" Height="21" HorizontalAlignment="Left" Margin="6,84,0,0" Name="lbCity" VerticalAlignment="Top" />
            <Label Content="Estado:" Height="21" HorizontalAlignment="Left" Margin="288,84,0,0" Name="lbState" VerticalAlignment="Top" />
            <Label Content="Pais:" Height="21" HorizontalAlignment="Left" Margin="7,111,0,0" Name="lbCountry" VerticalAlignment="Top" />
            <Label Content="CEP:" Height="21" HorizontalAlignment="Left" Margin="302,111,0,0" Name="lbPostalCode" VerticalAlignment="Top" />
            <Label Content="Telefone:" Height="21" HorizontalAlignment="Left" Margin="6,138,0,0" Name="lbPhone" VerticalAlignment="Top" />
            <Label Content="Email:" Height="21" HorizontalAlignment="Left" Margin="7,165,0,0" Name="lbEmail" VerticalAlignment="Top" />
            <Label Content="Home Page:" Height="21" HorizontalAlignment="Left" Margin="6,192,0,0" Name="lbHomePage" VerticalAlignment="Top" />
            <Label Content="Logo Marca:" Height="21" HorizontalAlignment="Left" Margin="7,219,0,0" Name="lbLogo" VerticalAlignment="Top" />
            <Button Content="Procurar..." Height="23" HorizontalAlignment="Left" Margin="457,217,0,0" Name="btnSearchLogoFile" VerticalAlignment="Top" Width="75" Click="btnSearchLogoFile_Click" />
            <Image Height="59" HorizontalAlignment="Left" Margin="73,246,0,0" Name="imgLogo" Stretch="Fill" VerticalAlignment="Top" Width="357" Source="/SlotDuino;component/Resources/logo_small.png" />
        </Grid>
    </GroupBox>
</Page>
